.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f7f7f7; /* 浅灰色背景 */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

.loading-container {
  width: 85%;
  max-width: 350px;
  text-align: center;
  padding: 40px 20px;
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.loading-icon-container {
  margin-bottom: 24px;
}

.loading-icon {
  width: 64px;
  height: 64px;
}

.loading-icon-bg {
  fill: none;
  stroke: #e0e0e0;
  stroke-width: 4;
}

.loading-icon-check {
  fill: none;
  stroke: #4caf50;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: draw-check 0.8s ease-in-out forwards;
}

.loading-title {
  font-size: 20px;
  font-weight: 500;
  color: #333;
  margin: 0 0 24px 0;
}

.loading-bar {
  width: 100%;
  height: 6px;
  background-color: #eee;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 16px;
  position: relative;
}

.loading-bar-inner {
  height: 100%;
  background: linear-gradient(90deg, #42b883, #34a853, #42b883);
  border-radius: 3px;
  transition: width 0.5s ease-out;
}

.loading-subtitle {
  font-size: 14px;
  color: #888;
  letter-spacing: 0.5px;
}

@keyframes draw-check {
  to {
    stroke-dashoffset: 0;
  }
}
